﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;

namespace thailandProject.Models
{
    public class TopBarFields
    {
        [StringLength(100)] 
        [DataType(DataType.Text)]
        [Display(Name = "")]
        public string TaskName { get; set; }

        [DataType(DataType.DateTime)]
        [Display(Name = "")]
        public string TaskEndDate { get; set; }

        [StringLength(100)]
        [DataType(DataType.Text)]
        [Display(Name = "")]
        public string TaskLocation { get; set; }
    }

    public class DropDownFields
    {
        [StringLength(100)]
        [DataType(DataType.Text)]
        [Display(Name = "")]
        public string ReservationLocation { get; set; }

        [DataType(DataType.Date)]
        [Display(Name = "")]
        public string ReservationStartDate { get; set; }

        [DataType(DataType.Date)]
        [Display(Name = "")]
        public string ReservationEndDate { get; set; }

        [StringLength(2000)]
        [DataType(DataType.Text)]
        [Display(Name = "")]
        public string TaskNotes { get; set; }
    }
}